package com.meiqiongproperty.yiguanjia.fragment.home;

import android.databinding.DataBindingUtil;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.meiqiongproperty.yiguanjia.R;
import com.meiqiongproperty.yiguanjia.databinding.HomeYifinancialLayoutBinding;
import com.meiqiongproperty.yiguanjia.fragment.BaseFragment;

/**
 * author: Administrator
 * date: 2017/7/18.
 * package:com.meiqiongproperty.yiguanjia.fragment.home
 */

public class YiFinancialFragment extends BaseFragment {
    HomeYifinancialLayoutBinding binding;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        binding= DataBindingUtil.inflate(inflater, R.layout.home_yifinancial_layout,container,false);

        binding.navigation.setTitle("怡金融");
        binding.navigation.setLeftClick(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                sendKeyBackEvent();
            }
        });
        return binding.getRoot();
    }
}
